From: Alexandre Emsenhuber Date: Thu, 10 Nov 2011 12:09:33 +0000 (+0000) Subject: Removed FeedItem::getLastMod() and FeedItem::getDBPrefixedTitle() since they are... X-Git-Tag: 1.31.0-rc.0~26595 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=7c77b828b6c852b2953805a7a61c1add0f899e67;p=lhc%2Fweb%2Fwiklou.git Removed FeedItem::getLastMod() and FeedItem::getDBPrefixedTitle() since they are not used and would throw an error since FeedItem::$Title is a string and not an object --- diff --git a/includes/Feed.php b/includes/Feed.php index ef33c78ffb..3d6b43695c 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -68,15 +68,6 @@ class FeedItem { $this->Comments = $Comments; } - /** - * Get the last touched timestamp - * - * @return String last-touched timestamp - */ - public function getLastMod() { - return $this->Title->getTouched(); - } - /** * Encode $string so that it can be safely embedded in a XML document * @@ -120,16 +111,6 @@ class FeedItem { return $this->xmlEncode( $this->Title ); } - /** - * Get the DB prefixed title - * - * @return String the prefixed title, with underscores and - * any interwiki and namespace prefixes - */ - public function getDBPrefixedTitle() { - return $this->Title->getPrefixedDBKey(); - } - /** * Get the URL of this item; already xml-encoded *